// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import MintUI from 'mint-ui'
import store from './store'


import './assets/css/common.css'
import './common/style/index.scss'

import VueVideoPlayer from 'vue-video-player'

Vue.use(VueVideoPlayer)



Vue.use(MintUI)

Vue.config.productionTip = false

// router.beforeEach(({meta,path}, from, next) => {
//   // to 和 from 都是 路由信息对象
//   const { auth = true } = meta

//   console.log(meta)



//   next()
// })

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  template: '<App/>',
  components: { App }
})
